set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_AUTOMOC ON)
find_package(Qt5Widgets)


set(CORE_SRC_FILES corecommon.h coreservice.h coreservice.cpp document.h document.cpp
        project.h project.cpp statement.h statement.cpp word.h word.cpp
        wordgroup.h wordgroup.cpp  wordposition.h wordposition.cpp AnalyzeContext.cpp AnalyzeContext.h)




add_library(CORE_SERVICE ${CORE_SRC_FILES})

qt5_use_modules(CORE_SERVICE Widgets)